/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.upf.grupE.DDBB.Interfaces;

import org.xmldb.api.base.Collection;
import org.xmldb.api.base.XMLDBException;

/**
 *
 * @author xday666
 */
public interface XmlDbDataSource {

    /**
     *
     * @return
     * @throws org.xmldb.api.base.XMLDBException
     */
    public Collection getCollection() throws XMLDBException;
    /**
     *
     * @param aUserName
     * @param aPassword
     * @return
     * @throws org.xmldb.api.base.XMLDBException
     */
    public Collection getCollection(String aUserName, String aPassword)
    throws XMLDBException;

}
